<?php 
$this->lang->load('admin_ad', $this->session->admin_language);
$this->load->view('admin/layout/head', array('title'=> '编辑管理员'), FALSE);
?>

<div id="container">
<form class="form-inline deal-from container-fluid no-padding" method="post" id="ad-form">
	<div class="mt-20">
		<label for="">名称:</label>
		<div class="form-group">
			<input type="text" name="name" value="<?= set_value('name', $admin['name']); ?>" class="form-control">
		</div>
		<?= form_error('name'); ?>
	</div>
	<div class="mt-20">
		<label for="">密码</label>
		<div class="form-group">
			<input type="password" name="password" class="form-control" value="">
		</div>
	</div>

	<div style="padding-left:110px" class="mt-20">
      <button href="javascript:;" class="btn btn-primary save"><?php echo $this->lang->line('save') ?></button>
      <a onclick="window.history.go(-1);" class="btn btn-default cancel"><?php echo $this->lang->line('cancel') ?></a>
    </div>

	
</form>
</div>


<?php 
$this->load->view('admin/layout/footer');
?>